package com.ndp.fb.rdb.model.ga;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.ColumnType;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by infi.he on 2016/4/13.
 */
@Setter
@Getter
@NoArgsConstructor
public class EcGaCredential implements Serializable {
    Long id;
    String productId; //ProductManage
    Long orgId;
    String userId;
    String accessToken;
    Long expirationTimeMilliseconds;
    String refreshToken;
    String trackingId;
    String gaUserName;
    @Column(value = "create_time", type = ColumnType.Time)
    Date createTime;
    @Column(value = "update_time", type = ColumnType.Time)
    Date updateTime;
    String status;
}
